import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import '@/assets/css/constants.less'
import '@/assets/css/normalize.less'

import VMdPreview from '@kangc/v-md-editor/lib/preview'
import '@kangc/v-md-editor/lib/style/base-editor.css'
import vuepressTheme from '@kangc/v-md-editor/lib/theme/vuepress.js'
import '@kangc/v-md-editor/lib/theme/style/vuepress.css'
import Prism from 'prismjs'

VMdPreview.use(vuepressTheme, {
	Prism
})

const app = createApp(App)

app.use(router)
app.use(VMdPreview)

app.mount('#app')
